# Caption or St_Caption

Specifies the text for the object or state. The text appears on the face of the object, to give the operator information about what the object does or about the current state.

For the numeric and string input enable objects, the text also appears as a caption on the top of the pop-up that opens at run time when the button is pressed.

For objects with error states, the default caption for the error state is Error. You can change it if required.

For objects with the St_CaptionUsesDisplayName property, text entered here is shown only if that property is set to False.

## See also

St_CaptionUsesDisplayName